import Vue from "vue";
import Router from "vue-router";
import Home from "./components/home/Home.vue";
import Login from "./components/login/Login";
import Write from "./components/write/Write";
import List from "./components/list/List";
import Management from "./components/management/Management";
Vue.use(Router);

export default new Router({
  routes: [
    {
      path: "/",
      name: "login",
      component: Login
    },
    {
      path: "/home",
      name: "home",
      component: Home
    },
    {
      path: "/write",
      name: "write",
      component: Write
    },
    {
      path: "/List",
      name: "list",
      component: List
    },
    {
      path: "/management",
      name: "management",
      component: Management
    }
  ]
});
